crypto/tls.Config.rand (method)

25 uses

	crypto/tls (current package)
		common.go#L936: 		if _, err := io.ReadFull(c.rand(), c.SessionTicketKey[:]); err != nil {
		common.go#L998: 		if _, err := io.ReadFull(c.rand(), newKey[:]); err != nil {
		common.go#L1042: func (c *Config) rand() io.Reader {
		conn.go#L1025: 		outBuf, err = c.out.encrypt(outBuf, data[:m], c.config.rand())
		handshake_client.go#L114: 	_, err := io.ReadFull(config.rand(), hello.random)
		handshake_client.go#L126: 		if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil {
		handshake_client.go#L153: 			keyShareKeys.ecdhe, err = generateECDHEKey(config.rand(), X25519)
		handshake_client.go#L158: 			if _, err := io.ReadFull(config.rand(), seed); err != nil {
		handshake_client.go#L178: 			keyShareKeys.ecdhe, err = generateECDHEKey(config.rand(), curveID)
		handshake_client.go#L296: 		_, err = io.ReadFull(c.config.rand(), hello.random)
		handshake_client.go#L815: 		certVerify.signature, err = key.Sign(c.config.rand(), signed, signOpts)
		handshake_client_tls13.go#L337: 		key, err := generateECDHEKey(c.config.rand(), curveID)
		handshake_client_tls13.go#L821: 	sig, err := cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
		handshake_server.go#L212: 	_, err := io.ReadFull(c.config.rand(), serverRandom)
		handshake_server_tls13.go#L135: 	if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
		handshake_server_tls13.go#L236: 	key, err := generateECDHEKey(c.config.rand(), ecdhGroup)
		handshake_server_tls13.go#L754: 	sig, err := hs.cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts)
		handshake_server_tls13.go#L907: 	if _, err := c.config.rand().Read(ageAdd); err != nil {
		key_agreement.go#L64: 	preMasterSecret, err := priv.Decrypt(config.rand(), ciphertext, &rsa.PKCS1v15DecryptOptions{SessionKeyLen: 48})
		key_agreement.go#L85: 	_, err := io.ReadFull(config.rand(), preMasterSecret[2:])
		key_agreement.go#L94: 	encrypted, err := rsa.EncryptPKCS1v15(config.rand(), rsaKey, preMasterSecret)
		key_agreement.go#L185: 	key, err := generateECDHEKey(config.rand(), curveID)
		key_agreement.go#L233: 	sig, err := priv.Sign(config.rand(), signed, signOpts)
		key_agreement.go#L300: 	key, err := generateECDHEKey(config.rand(), curveID)
		ticket.go#L331: 	if _, err := io.ReadFull(c.rand(), iv); err != nil {